﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Serialization;

namespace ArgusLight.Fractals2D.ComplexFractalColoring
{
	[XmlType(TypeName="ComplexSinusUsingColoring")]
	public class PeriodicColoringParameter : ColoringParameter
	{
		public double Frequency { get; set; }
		public double Translation { get; set; }
		public double NumberOfColorPeriods { get; set; }
		public bool AutoSetFrequency { get; set; }

		public static PeriodicColoringParameter Default
		{
			get
			{
				PeriodicColoringParameter p = new PeriodicColoringParameter();
				p.AutoSetFrequency = true;
				p.Frequency = double.NaN;
				p.NumberOfColorPeriods = 4;
				p.Translation = 0;
				return p;
			}
		}
	}
}
